@import "min";
@mixin span($width) {
    display: inline-block;
    width: $width;
    height: 30px;
    background-color: #fff;
    font-size: 14px;
    text-align: center;
    margin-top: -10px;
    line-height: 30px;
    color: #999;
}

@mixin icon($bott) {
    width: 100px;
    height: 50px;
    margin-bottom: $bott;
}

#a {
    width: 100%;
    height: 245px;
}

body {
    background-color: #F0F0F0;
}

.box {
    width: 90%;
    margin: -7px auto;
    overflow: hidden;
    background-color: #F5F5F5;
    .main_1 {
        display: flex;
        overflow: hidden;
        animation: yi 4s forwards infinite;
        img {
            width: 1600px;
            height: 500px;
        }
    }
    @keyframes yi {
        0% {
            margin-left: 0;
        }
        25% {
            margin-left: -1500px;
        }
        50% {
            margin-left: -3100px;
        }
        100% {
            margin-left: -4700px;
        }
    }
    .main_2 {
        margin-top: 20px;
        .icon {
            @include icon(20px);
            @include css("../img/index/title.png", 0, 0);
        }
        ul {
            display: flex;
            justify-content: space-between;
            li {
                a {
                    img {
                        width: 220px;
                    }
                    span {
                        @include span(220px);
                    }
                }
            }
        }
    }
    @keyframes name1 {
        0% {
            transform: scale(0.7);
        }
        25% {
            transform: scale(1);
        }
        50% {
            transform: scale(0.7);
        }
        100% {
            transform: scale(1);
        }
    }
    .main_3 {
        margin-top: 10px;
        .icon {
            @include icon(10px);
            @include css("../img/index/title.png", 0, -50px);
        }
        ul {
            display: flex;
            justify-content: space-between;
            li {
                animation: name1 2s;
                &:nth-child(2) {
                    margin-left: -20px;
                }
                a {
                    img {
                        width: 150px;
                    }
                    span {
                        @include span(150px);
                    }
                }
            }
            .a {
                margin-left: -20px;
            }
        }
    }
    @keyframes name2 {
        to {
            transform: scale(1);
            filter: blur(0);
        }
    }
    .main_4 {
        margin-top: 20px;
        .icon {
            @include icon(20px);
            @include css("../img/index/title.png", 0, -100px);
        }
        ul {
            display: flex;
            flex-wrap: wrap;
            justify-content: space-between;
            li {
                transform: scale(0.5);
                filter: blur(10px);
                animation: name2 1s forwards;
                width: 440px;
                height: 200px;
                background-color: #fff;
                margin-bottom: 20px;
                border-bottom: 3px solid transparent;
                &:hover {
                    border-bottom: 3px solid red;
                }
                a {
                    img {
                        width: 50%;
                        height: 200px;
                        float: left;
                        margin-right: 20px;
                    }
                    p {
                        padding: 0 20px;
                        padding-left: 20px;
                        text-align: justify;
                        &:nth-child(2) {
                            padding-top: 20px;
                            line-height: 20px;
                            color: #999;
                        }
                        &:nth-child(3) {
                            padding-top: 20px;
                            color: #FF3274;
                        }
                        &:nth-child(4) {
                            padding-top: 20px;
                            font-size: 12px;
                            color: #999;
                            .icon {
                                display: inline-block;
                                width: 15px;
                                height: 15px;
                                // background: url(../img/ico.png) no-repeat 11px -70px;
                                @include css("../img/ico.png", -11px, -70px);
                                i {
                                    padding-left: 20px;
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}